import regExp from "./regExp";

export default {
    install(Vue){
        if(!Vue.prototype.$j){
            Vue.prototype.$j = {}
        }
        Vue.prototype.$j.regExp = regExp
        Vue.prototype.$j.fileTypes = {
            "Word":['.doc', '.dot', '.docx', '.dotx', '.docm', '.dotm', '.rtf', '.wpd'],
            "Excel":['.xls', '.xlsx', '.xlsm', '.xlsb', '.xlt', '.xltx', '.xltm', '.csv'],
            "Powerpoint":['.ppt', '.pptx', '.pptm', '.pps', '.ppsx', '.ppsm', '.pot', '.potx', '.potm'],
            "Visio":['.vsd', '.vsdx', '.vsdm', '.svg'],
            "Publisher":['.pub'],
            "Outlook":['.msg', '.vcf', '.ics'],
            "Project":['.mpp'],
            "OpenOffice":['.odt', '.odp', '.ods'],
            "image":['.png', '.jpg', '.jpeg'],
            "PDF":['.pdf'],
        }
    }
}
